﻿
@{
    ViewBag.Title = "Index";
}

<div class="location">
    <a href="#3">首页</a> > <a href="#3">我的个人中心</a> > <a href="#3">我的流程</a> > <a href="#3">待办事宜</a>
</div>

<div id="filter">
    <a href="#">筛选</a><span>（点击筛选可以把满足您条件的内容找出来 ）</span>
</div>
<div style="display: none" id="searchArea" class="about_jiekuan Borrowing_statistics searchArea">
    <h3>查询条件：</h3>
    <div class="row borrowing_information ">
        <div class="col-md-5">
            <div class="form-group">
                <label>业务类型：</label>
                <a class="btn btnRedemption" style="display: ${LaonPayable}" data-id="${AgreeNum}" href="#" data-toggle="modal" data-target="#RedemptionModal">划付审核</a>
                <select class="select_3" id="contractType">
                  
                </select>
            </div>
        </div>
        <div class="col-md-6">
            <div class="form-group">
                <label>合同状态：</label>
                <select class="select_3" name="Verify" id="verifyStatus">
                  
                </select>
            </div>
        </div>
    </div>
    <div class="Borrowing_s">
        <a href="#3" id="btnSearch">查询</a>
    </div>
</div>
<div id="caption"></div>
<div id="dataArea" style="display: none">
 
    <table class="table user_control">
        <thead>
            <tr>
                <th>项目编号</th>
                <th>审批节点</th>
                <th>客户</th>
                <th>产品</th>
                <th>金额</th>
                <th>期限</th>
                <th>状态</th>
                <th>编辑</th>
            </tr>
        </thead>
        <tbody class="contractInfo"></tbody>
    </table>
    <div id="pager">
       @Html.Partial("_PagerView")
    </div>
</div>
<!-- Modal -->
<div class="modal fade myModal_tan" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content modal-content_xuan">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title" id="myModalLabel">查找客户</h4>
            </div>
            <div class="modal-body">
                <div class="row">
                </div>
                <div class="role_xiangxi clearfix">
                    <div class="form-group">
                        <label class="label1">出资人姓名：</label>
                        <input class="form-horizontal input_1 txtName" type="text" />
                    </div>
                    <div class="form-group">
                        <label class="label1">手机号码：</label>
                        <input class="form-horizontal input_1 txtPhone" type="text" />
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-primary btnSearchBorrow">查询</button>
                </div>
                <table class="financial_query tbUser">
                    <thead>
                        <tr>
                            <td>代码</td>
                            <td>姓名</td>
                            <td>手机号码</td>
                        </tr>
                    </thead>
                    <tbody class="userInfo"></tbody>
                </table>
            </div>
        </div>
    </div>
</div>
<div class="modal fade Redemption" id="RedemptionModal" tabindex="-1" role="dialog" aria-labelledby="RedemptionLabel" aria-hidden="true" style="display: none;">
    <div class="modal-dialog">
        <div class="modal-content modal-content_xuan">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title" id="RedemptionLabel">借款划付</h4>
            </div>
            <div class="modal-body">
                <div class="row">
                </div>
                <div class="role_xiangxi clearfix">
                    <div class="form-group">
                        <label class="label1">债权金额：</label>
                        <label data-name="Amount"></label>
                    </div>
                    <div class="form-group">
                        <label class="label1">划付银行：</label>
                        <label data-name="TransferBackBankName"></label>
                    </div>
                    <div class="form-group">
                        <label class="label1">划付开户行（精确到支行）：</label>
                        <label data-name="TransOpenBank"></label>
                    </div>
                    <div class="form-group">
                        <label class="label1">划付账户名：</label>
                        <label data-name="TransAccName"></label>
                    </div>
                    <div class="form-group">
                        <label class="label1">划付账户号码：</label>
                        <label data-name="TransAccNum"></label>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-primary btnSendRedemption">赎回</button>
                    <input type="hidden" data-name="OrderId" />
                </div>
            </div>
        </div>
    </div>
</div>
<!-- /.modal -->
<script id="UserTemplete" type="text/x-jquery-tmpl">
    <tr data-dismiss="modal">
        <td class="userId">${UserId}</td>
        <td class="name">${Name}</td>
        <td class="phone">${Phone}</td>
    </tr>
</script>

<script id="ContractTemplete" type="text/x-jquery-tmpl">
    <tr>
        <td>${AgreeNum}</td>
        {{if IsCredit}}
        <td>${ApprovalAddress}</td>
        <td>${ApprovalTime}</td>
        {{/if}}
        <td>${Section}</td>
        <td>${UserName}</td>
        <td>${Product}</td>
        {{if IsSettlement}}
        <td>${Amount}</td>
        <td>${Term}</td>
        {{else}}
        {{if IsLoan}}
        <td>${ApplyAmount}</td>
        <td>${ApplyTerm}</td>
        {{else}}
        <td>${Amount}</td>
        <td>${Term}</td>
        {{/if}}
        {{/if}}
    </tr>
</script>
<script src="/Content/scripts/common/datapager.js"></script>
<script src="/Content/scripts/datetimepicker/bootstrap-datetimepicker.js"></script>
<script src="/Content/scripts/datetimepicker/bootstrap-datetimepicker.zh-CN.js"></script>
<script src="/Content/scripts/datetimepicker/dtpconfig.js"></script>
<script src="/Content/scripts/page/Backlog.js"></script>
